﻿Ext.define('GW.view.Viewport', {
	extend: 'Ext.container.Viewport',
	layout: 'border',
	alias: 'widget.bibleapp',
	requires: ['GW.view.BibleTree', 'GW.view.BibleContent'],

	initComponent: function() {
		this.layout = 'border';
		this.items = [
			{
				xtype: 'bibletree',
				split: true,
				region: 'west',
				minWidth: 200,
				width: 200
			},
			{
				xtype: 'biblecontent',
				region: 'center'
			}
		];
		
		this.callParent(arguments);
	}
});